package net.easyjava.tools.http.bean;


import net.easyjava.tools.BaseBean;

import java.io.InputStream;

/**
 * Created by wxnacy on 16/2/2.
 */
public class ImageBean extends BaseBean {
    private static final long serialVersionUID = 2423495225774675995L;
    private String url;
    private String type;
    private String suffix;
    private long size;
    private int width;
    private int height;
    private InputStream inputStream;

    public ImageBean() {
    }

    public ImageBean(String url) {
        this.url = url;
    }

    public String getSuffix() {
        return suffix;
    }

    public void setSuffix(String suffix) {
        this.suffix = suffix;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public InputStream getInputStream() {
        return inputStream;
    }

    public void setInputStream(InputStream inputStream) {
        this.inputStream = inputStream;
    }
}
